
const routes = [
    {
        name: 'login',
        path: '/login',
        component: () => import('@/components/Login.vue')
    },
    {
        name: 'layout',
        path: '/admin',
        redirect:'/admin/welcome',
        component: () => import('@/layout/index.vue'),
        children: [
            {
                name: 'welcome',
                path: 'welcome',
                component: () => import('@/views/Welcome.vue')
            }
        ]
    },


]


export default routes
